package dtos;

import java.io.Serializable;

import entities.FormaPago;

public class FormaPagoDTO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2568372843322266984L;
	private int id;
	private String forma;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getForma() {
		return forma;
	}
	public void setForma(String forma) {
		this.forma = forma;
	}
	public FormaPagoDTO() {
		super();
		// TODO Auto-generated constructor stub
	}
	public FormaPagoDTO parseDTO(FormaPago pago) {
		FormaPagoDTO f = new FormaPagoDTO();
		f.setForma(pago.getForma());
		return f;
	}
	
}
